package com.mes.service.hpf;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mes.dao.hpf.CustomerDetailsMapper;
import com.mes.entity.yzl.Condition;
import com.mes.entity.zc.CustomerDetails;

@Service
@Transactional
public class CustomerDetailsServiceImpl implements CustomerDetailsService {

	@Resource
    public CustomerDetailsMapper customerDetailsMapper;

	@Override
	public List<CustomerDetails> customerPageList(Condition condition) {
		// TODO Auto-generated method stub
		return customerDetailsMapper.customerPageList(condition);
	}

	@Override
	public int customerCount() {
		// TODO Auto-generated method stub
		return customerDetailsMapper.customerCount();
	}

	@Override
	public List<CustomerDetails> customerAllList() {
		// TODO Auto-generated method stub
		return customerDetailsMapper.customerAllList();
	}

}
